package org.vv.store;

import java.util.*;

public class Store{
	private Linkedlist log = new Linkedlist();

	public void addItem(String id,String name,String price,Store quant){
		Item it = new Item(id,name,price,quant);
		log.add(it);
	}

	public Item getItem(int i){
		return (Item)log.get(i);
	}

	public int getSize(){
		return log.size();
	}

	public void sort(){
		Collections.sort(log);
	}
}